import request from '@/utils/request'

// 企业经营列表
export default {
	corpManageList(query) {
		return request({
			url: '/agriculture/corpManage/list',
			method: 'get',
			params: query,
		})
	},

	// 新增
	corpManageAdd(data) {
		return request({
			url: '/agriculture/corpManage/add',
			method: 'post',
			data: data,
		})
	},

	// 详情
	corpManageDetail(data) {
		return request({
			url: '/agriculture/corpManage/detail',
			method: 'post',
			data: data,
		})
	},

	// 修改
	corpManageUpdate(data) {
		return request({
			url: '/agriculture/corpManage/update',
			method: 'post',
			data: data,
		})
	},
}
